package com.feiyuan.movie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feiyuan.common.utils.PageUtils;
import com.feiyuan.movie.entity.MovieUserHistoryEntity;
import com.feiyuan.movie.vo.MoviePlayerInfoVO;
import com.feiyuan.movie.vo.UserHistoryMovieVO;

import java.util.Map;

/**
 * 
 *
 * @author Xupf
 * @email xupengfei131276@126.com
 * @date 2024-10-24 16:53:28
 */
public interface MovieUserHistoryService extends IService<MovieUserHistoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    IPage<UserHistoryMovieVO> pageHistory(Page<MovieUserHistoryEntity> movieUserHistoryEntityPage, Long userId);

    MoviePlayerInfoVO selectByUserHistoryId(Long userId, Long userHistoryId);
}

